/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Dao;

import java.sql.Time;
import java.util.Date;

/**
 *
 * @author Ivan
 */
public class PkComentarioXPost extends PkBase {
    private int idPost;
    private Date fecha;
    private Time hora;

    public PkComentarioXPost(int idPost, Date fecha, Time hora) {
        this.idPost = idPost;
        this.fecha = fecha;
        this.hora = hora;
    }

    public PkComentarioXPost() {
        this.idPost = -1;
        this.fecha = new Date(0000, 00, 00);
        this.hora = new Time(00, 00, 00);
    }

    public Date getFecha() {
        return fecha;
    }

    public void setFecha(Date fecha) {
        this.fecha = fecha;
    }

    public Time getHora() {
        return hora;
    }

    public void setHora(Time hora) {
        this.hora = hora;
    }

    public int getIdPost() {
        return idPost;
    }

    public void setIdPost(int idPost) {
        this.idPost = idPost;
    }
    


}
